body {
    background-color: #ededed;
}

.container {
    min-width: 1200px;
    max-width: 1320px;
    margin: 0 auto;
}

/* 导航栏 */

nav {
    background-color: #fff;
    height: 60px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.nav .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img {
    min-width: 100px;
    max-height: 60px;
    width: auto;
    margin-right: 12px;
}

nav .bar {
    height: 100%;
    margin: 20px;
    width: 1px;
    display: flex;
}

.nav .nav-middle {
    display: flex;
    align-items: center;
}

.nav .nav-middle ul li {
    margin: 0 10px;
    font-size: 1rem;
    color: #4d4d4d;
}

.nav .nav-right ul li {
    margin: 4px;
}

.nav .nav-right ul li {
    margin: 4px;
}

.nav .nav-right ul li button {
    background-color: rgba(3, 121, 255, .65);
    color: #fff;
    padding: .2rem .75rem;
    font-size: .875rem;
    border-radius: 20px;
}


/* main */
.main {
    padding: 0 12px;
}

.main .main-box {
    display: flex;
}

/* .main-content */
.main .main-box .main-content {
    flex: 0 0 auto;
    width: 75%;
}

.main .main-box .main-content .content-box {
    margin-top: 24px;
    padding: 0 12px;
}

.main .main-box .main-content .card {
    padding: 24px;
    background-color: #fff;
}

.main .main-box .main-content .card .article-header {
    margin-bottom: 16px;
}

.main .main-box .main-content .card .article-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #595d69;
}

.main .main-box .main-content .card .shop {
    margin: 24px 0;
}

.main .main-box .main-content .card .shop .row {
    display: flex;
}

.main .main-box .main-content .card .shop .row .row-img {
    padding: 0 12px;
}

.main .main-box .main-content .card .shop .row .row-img img {
    max-height: 220px;
    object-fit: cover;
}

.main .main-box .main-content .card .shop .info-box {
    padding: 0 12px;
}

.main .main-box .main-content .card .shop .info-box .article-meta {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
    background-color: #e6f2ff;
    border-radius: .25rem;
}

.main .main-box .main-content .card .shop .info-box .article-meta li {
    width: 50%;
    font-size: .875rem;
    color: #999;
    line-height: 1.8;
    list-style: none;
}

.main .main-box .main-content .card .shop .info-box .down-buy-warp {
    margin-top: 8px;
}

.main .main-box .main-content .card .shop .info-box .down-buy-warp .buy-desc {
    margin-bottom: 8px;
}

.main .main-box .main-content .card .shop .info-box .down-buy-warp .buy-desc ul {
    margin-top: 4px;
    padding: 0;
    border-radius: .25rem;
    border: unset;
    background-color: #fff2e7;
}

.price-item {
    padding: 6px;
    display: inline-block;
    line-height: 1.2;
    font-size: .875rem;
    padding-left: 15px;
}

.vip {
    color: #0cbc87;
}

.boosvip {
    color: #f7c32e;
}

.buy-btns .btn {
    padding: 6px 24px;
    cursor: pointer;
    color: #fff;
    border-radius: 5px;
    font-size: 0.9375rem;
}

.buy-btns .btn1 {
    background-color: #d6293e;
}

.buy-btns .btn1:hover {
    background-color: #b62335;
}

.buy-btns .btn2 {
    background-color: #191a1f;
}

.buy-btns .btn2:hover {
    background-color: #3c3c41;
}

.single-content-nav {
    margin-bottom: 24px;
}

.single-content-nav ul {
    display: flex;
}

.single-content-nav ul li {
    margin-right: 8px;
}

.single-content-nav ul li>a {
    padding: 8px 16px;
    display: inline-block;
    line-height: 1.2;
    font-weight: 600;
    border-radius: .35rem;
    border: solid 2px rgba(33, 99, 232, .31);
    color: #2163e8;
    background-color: #fff;
}

.single-content-nav ul li .active {
    color: #fff;
    background-color: #2163e8;
}

.card .tab-content {}

.card .tab-content .top {
    margin-bottom: 24px;
}

.card .tab-content .top img {
    width: 100%;
    margin-bottom: 1rem;
}

.card .tab-content article {
    margin-bottom: 20px;
}

.card .tab-content article p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.card .tab-content article p img {
    width: 100%;
}

.card .tab-content article h3 {
    padding-left: 18px;
    line-height: 1.46;
    border-left: 4px solid #306dea;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card .tab-content article .entry-copyright {
    padding: 8px;
    border-radius: 8px;
    background-color: rgba(79, 158, 248, .1);
    font-size: .875rem;
    color: #a1a1a8;
}

.card .tab-content .entry-tags a {
    display: inline-block;
    padding: .35em .65em;
    margin: 2px 2px 2px 0;
    font-size: .85em;
    line-height: 1;
    border-radius: .25rem;
    background-color: #f0f1f3;
    color: #a1a1a8;
}

.card .tab-content .entry-social {
    margin-top: 16px;
    display: flex;
}

.card .tab-content .entry-social .col {
    flex: 1 0 0%;
    /* padding: 0 12px; */
}

.card .tab-content .entry-social .col img {
    width: 32px;
    border-radius: 50%;
}

.card .tab-content .entry-social .col-auto {
    flex: 0 0 auto;
    padding: 0 12px;
}

.card .tab-content .entry-social .col-auto span {
    font-size: 0.8203125rem;
    border-radius: 0.2rem;
    padding: 4px 8px;
    color: #4f9ef8;
    background-color: #edf5fe;
}

.card .tab-content .entry-social .col-auto .span2 {
    color: #0cbc87;
    background-color: rgba(12, 188, 135, .1);
}

.card .tab-content .entry-social .col-auto .span3 {
    color: #d6293e;
    background-color: rgba(214, 41, 62, .1);
}

.entry-nav {
    margin-top: 18px;
    display: flex;
    gap: 16px;
}

.entry-nav .en {
    flex: 0 0 auto;
    flex: 1;
    padding: 0 8px;
    background-color: #fff;
    border-radius: 4px;
}

.entry-nav .entry-page-prev {
    display: flex;
    cursor: pointer;
}

.entry-nav .entry-page-icon {
    flex: 0 0 auto;
    margin: 0;
    display: block;
    padding: 1rem;
    font-size: 1rem;
}

.entry-nav .entry-page-info {
    text-align: right;
    flex: 1;
    padding: 16px;
}

.entry-nav .entry-page-info span {
    font-size: .875rem;
    color: #ccc;
}

.entry-nav .entry-page-info .title {
    font-size: 1rem;
}

.entry-nav .entry-page-prev .page2 {
    text-align: left;
}

.main-content .related-posts {
    margin-top: 24px;
}

.main-content .related-posts h2 {
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}


/* grid-box */
.grid-box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.grid-box .grid-item {
    position: relative;
    /* width: 246px; */
    /* height: 210px; */
    background-color: #fff;
    border-radius: .3rem;
    transition: all .3s ease-in-out;
    /* 平滑过渡效果 */
}

.grid-box .grid-item:hover {
    /* 向上移动一点 */
    transform: translateY(-4px);
    /* 你可以根据需要调整这个值 */

    /* 增加阴影 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* 阴影效果，你可以根据需要调整颜色、偏移量和模糊度 */


    /* 鼠标悬浮时的背景色 */
}

.grid-box .grid-item .item-img {
    background: url(../images/img2.png) no-repeat;
    background-size: cover;
    background-position: center;
    height: 153px;
}

.grid-box .grid-item .img-vip {
    position: absolute;
    width: 30px;
    height: 23px;
    margin: 8px;
    font-size: .65rem;
    color: #950000;


}

.grid-box .grid-item .img-vip .VIP {
    width: 16px;
    height: 10px;
    text-align: center;
    line-height: 10px;
    padding: 4px 7px;
    background-color: #f2cc5c;
    border-radius: 5px;
}

.grid-box .grid-item .item-content {
    padding: 10px;
    font-size: .75rem;
}

.grid-box .grid-item .item-content .message {
    color: #a1a1a8;
}

.grid-box .grid-item .item-content .message img {
    width: 18px;
}

.grid-box .grid-item .item-content h2 {
    font-size: .95rem;
    font-weight: 600;
    color: #595d69;
}

.grid-box .grid-item .item-content h2:hover {
    color: #09090b;
}

.grid-box .grid-item .item-content .text {
    color: #a1a1a8;
    font-size: .75rem;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.grid-box .grid-item .item-content .meta {
    margin-top: 8px;

}

.grid-box .grid-item .item-content .meta span {
    color: #a1a1a8;
    font-size: .75rem;
    margin-right: 10px;
}


/* main-sidebar */
.main .main-box .main-sidebar {
    flex: 0 0 auto;
    width: 25%;
}

.main .main-box .main-sidebar .sidebar {
    margin-top: 24px;
    padding: 0 12px;
}



.main .main-box .main-sidebar .sidebar .widget {
    /* position: relative; */
    border-radius: .25rem;
    background-color: #fff;
    overflow: hidden;
    padding: 20px;
    margin-bottom: 24px;
}

.main .main-box .main-sidebar .sidebar .widget h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #595d69;
}

.main .main-box .main-sidebar .sidebar .widget .author-header {
    margin-bottom: 16px;
    display: flex;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col-auto {
    padding: 0 12px;
    flex: 0 0 auto;
    width: auto;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col-auto .avatar {
    height: 3rem;
    width: 3rem;
    display: inline-block !important;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col-auto .avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col {
    flex: 1 0 0%;
    padding: 0 12px;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col .d-block {
    display: block;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col .youtiao {
    font-weight: 700;
    margin-bottom: .25rem;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col small {
    font-size: .875em;
}

.main .main-box .main-sidebar .sidebar .widget .author-header .col small .badge {
    background-color: #eeeef0;
    padding: .35em .65em;
    font-size: 0.85em;
    border-radius: 0.25rem;
    display: inline-block;
    line-height: 1;
    margin-left: 4px;
}

.main .main-box .main-sidebar .sidebar .widget .author-body {
    margin-bottom: 16px;
    display: flex;
}

.main .main-box .main-sidebar .sidebar .widget .author-body .col-4 {
    text-align: center;
    flex: 1;
    padding: 0 12px;
}

.main .main-box .main-sidebar .sidebar .widget .author-body .col-4 .mb-0 {
    font-size: 1.171875rem;
    font-weight: 500;
    color: #595d69;
    line-height: 1.2;
    display: block;
}

.main .main-box .main-sidebar .sidebar .widget .author-footer {
    padding: 4px 0;
    text-align: center;
    font-size: 0.8203125rem;
}

.main .main-box .main-sidebar .sidebar .post-buy-widget {
    position: relative;
    overflow: hidden;
}

.main .main-box .main-sidebar .sidebar .post-buy-widget .down-msg {
    position: absolute;
    right: 1rem;
    top: 1rem;
    line-height: 1.5rem;
    width: 5.656rem;
    transform: translate(38px, -8px) rotate(45deg);
    text-align: center;
    font-size: .75rem;
    background-color: #0cbc87;
    color: #fff;
}

.main .main-box .main-sidebar .sidebar .post-buy-widget .down-buy-warp .buy-title {
    color: #0cbc87;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.down-buy-warp .buy-desc {
    color: #999;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.down-buy-warp .prices-desc {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    font-size: .875rem;
    padding: .5rem 1rem;
    background-color: #fff9e4;
    border-radius: .35rem;
}

.down-buy-warp .prices-desc .prices-default {
    color: #d6293e;
    font-size: .875rem;
}

.down-buy-warp .prices-desc .prices-default>span {
    font-size: 1.5rem;
    font-weight: 600;
}

.down-buy-warp .prices-desc:after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: #fff9e4 transparent transparent transparent;
}

.down-buy-warp .prices-rate .prices-info {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px dashed #ffdd65;
    margin-top: 10px;
}

.down-buy-warp .prices-info a {
    display: block;
    font-size: .75rem;
    color: rgba(214, 41, 62, .85);
    letter-spacing: 1px;
    text-align: center;
}

.down-buy-warp .prices-info .price-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 0 10px 15px;
    font-size: .75rem;
}

.down-buy-warp .buy-btns {
    margin-bottom: 16px;
}

.post-buy-widget .down-buy-warp .buy-btns button {
    width: 100%;
    border-radius: 50px;
    padding: 0.55rem 0;
}

.down-buy-info {
    color: #83868f;
}

.down-buy-info button {
    width: 100%;
    border-radius: 50px;
    padding: 0.55rem 0;
    font-size: 0.9375rem;
    transition: all .3s ease-in-out;
}

.down-buy-info button:hover {
    color: #fff;
    font-weight: 500;
    background-color: #595d69;
}

.down-buy-info .list-group {
    margin-top: 16px;
}

.down-buy-info .list-group li {
    font-size: .875em;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.down-buy-info .list-group li:last-child {
    border: 0;
}

.down-buy-info p {
    font-size: .875em;
    margin-top: 16px;
}


.sidebar-posts-list .row {
    margin-top: 16px;
}

.sidebar-posts-list .row article {
    display: flex;
}

.sidebar-posts-list .row article .entry-media {
    max-width: 80px;
    margin-right: .5rem;
    border-radius: .25rem;
}

.sidebar-posts-list .row article .entry-media img {
    width: 100%;
    border-radius: .25rem;
}

.sidebar-posts-list .row article .text-title h2 {
    font-size: .875rem;
    color: #31333a;
    font-weight: 500;
}


.sidebar-ranking-list .row {
    margin-top: 16px;
}

.sidebar-ranking-list .row article {
    display: flex;
}

.sidebar-ranking-list .row article span {
    font-size: .85em;
    margin-right: .3rem;
    padding: 3px 8px;
    border-radius: 50%;
    color: #fff;
}

.sidebar-ranking-list .row article .bg1 {
    background-color: #90b1f3;
}

.sidebar-ranking-list .row article .bg2 {
    background-color: #85ddc3;
}

.sidebar-ranking-list .row article .bg3 {
    background-color: #fbe196;
}

.sidebar-ranking-list .row article .bg4 {
    background-color: #a7cefb;
}

.sidebar-ranking-list .row article .bg5,
.bg6 {
    background-color: #acaeb4;
}


.sidebar-ranking-list .row article h3 {
    font-size: 1rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}












/* side-nav-bar */
.side-nav-bar {
    position: fixed;
    right: 30px;
    bottom: 90px;
}



.side-nav-bar ul li {
    background: #fff;
}

.side-nav-bar ul li>a {
    display: block;
    padding: 8px 0;
    cursor: pointer;
    border: 0;
    width: 45px;
    text-align: center;
    height: auto;
    color: #595d69;
    border-bottom: 1px solid #eee;
}

.side-nav-bar ul li>a:hover {
    color: #83868f;
}

.side-nav-bar ul li>a>i {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 10px;
    font-weight: 900;
    line-height: 1;
}

.side-nav-bar ul li>a>span {
    font-size: .75rem;
    padding: 0 5px;
    letter-spacing: 3px;
    display: block;
    line-height: 1.2;
    color: #595d69;
}

/* footer */
.footer {
    margin-top: 24px;
    padding: 24px 0;
    background-color: #fff;
}

.footer-box {
    margin: 0 104px;
    padding: 0 12px;
}

.footer-grid {
    height: 105px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    margin-bottom: 16px;
}

.footer-grid>div {
    padding: 0 12px;
    color: #595d69;
    font-size: .875rem;
}

.footer-grid .footer-grid1 img {
    min-width: 100px;
    max-height: 60px;
}

.footer-grid .footer-grid1 p {
    font-size: .875em;
    color: #595d69;
}

.footer-grid .footer-grid2 h4 {
    margin-bottom: 8px;
    font-size: .875rem;
    font-weight: 600;
    color: #595d69;
}

.footer-grid .footer-grid2 ul li {
    color: #595d69;
    font-size: .875rem;
}

.footer-grid .footer-grid2 img {
    width: 80px;
    height: 80px;
}

.footer-message {
    text-align: center;

    font-size: .875em;
}

.footer-message p {
    color: #2163e8;
}

.footer-message a:hover {
    color: #a1a1a8;
    cursor: pointer;
}

img:hover,
li:hover {
    color: #a1a1a8;
    cursor: pointer;
}